

package cn.shengchao.examstar.distribute.infrastrure.mapper;

import cn.shengchao.examstar.distribute.infrastrure.po.DistributeNodeInfo;
import cn.shengchao.examstar.distribute.infrastrure.po.DistributeOrderTaskContent;
import cn.shengchao.examstar.distribute.infrastrure.query.DistributeAmountQuery;
import cn.shengchao.examstar.distribute.infrastrure.query.DistributeUserSaleDetailQuery;
import cn.shengchao.examstar.distribute.infrastrure.query.SaleAmountQuery;
import cn.shengchao.examstar.distribute.infrastrure.vo.DistributeContentUserGroup;
import cn.shengchao.examstar.rpc.uddsys.resp.DistributeUserProfitDetailVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DistributeOrderTaskContentMapper extends BaseMapper<DistributeOrderTaskContent> {



    List<DistributeUserProfitDetailVo> getDistributeUserProfitDetailList(@Param("query") DistributeUserSaleDetailQuery distributeUserSaleDetailQuery);

    List<DistributeContentUserGroup> getDistributeUserGroupContentAmount(@Param("query")SaleAmountQuery saleAmountQuery);

    List<DistributeUserProfitDetailVo> getDistributeEmployeeContributeDetailList(@Param("query")DistributeUserSaleDetailQuery distributeUserSaleDetailQuery);

    DistributeContentUserGroup getContentAmountForDistributeUser(@Param("query")DistributeAmountQuery saleAmountQuery);

    List<DistributeNodeInfo> selectCourseDistributeNodeInfoListByOrderId(@Param("orderId")Long orderId);
    List<DistributeNodeInfo> selectProductThirdDistributeNodeInfoListByOrderId(@Param("orderId")Long orderId);
}